﻿using System;

class Circle
{
    static void Main()
    {
        //Exercise 2.
        //Write a program that reads the radius r of a circle and prints its perimeter and area.

        Console.Write("Enter the radius of the circle: ");
        int r = int.Parse(Console.ReadLine());
        Console.WriteLine();

        Console.WriteLine("The perimeter is: {0:F2}", 2 * Math.PI * r);        
        Console.WriteLine("The area is: {0:F2}", Math.PI * r * r);
        Console.WriteLine();
    }
}

